package DataManager;
import android.graphics.Bitmap;


public class MenuInfo {
    int     mId;
    int     mType;
    String   mName;
    Boolean mIsDiscount;
    Bitmap  mPicture;
    Bitmap  mThubnail;
    int     mPrice;
    String  mDescription;
    String  mMethod;
    
    public MenuInfo(int type){
    	mType = type;
    }
    
    public int getId(){
    	return mId;
    }
    
    public void setId(int id){
    	if(id > 0)
    		mId = id;
    	else
    		mId = -1;
    }
    
    public String getName(){
    	return mName;
    }
    
    public void setName(String name){
    	mName = name;
    }
    
    public int getPrice(){
    	return mPrice;
    }
    
    public void setPrice(int price){
    	if( price > 0)
    		mPrice = price;
    	else 
    		mPrice = 0;
    }
}


